/**
 * 
 */
package com.sfeir.client.view;

import com.google.gwt.canvas.client.Canvas;
import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.FocusEvent;
import com.google.gwt.event.dom.client.KeyDownEvent;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.MouseMoveEvent;
import com.google.gwt.user.client.ui.IsWidget;

/**
 * @author Fran�ois LAROCHE
 *
 */
public interface GamePanelView extends IsWidget {
	
	public interface Presenter {
		public void onClick(ClickEvent event);
		public void onFocus(FocusEvent event);
		public void onBlur(BlurEvent event);
		public void onKeyPress(KeyPressEvent event);
		public void onKeyDown(KeyDownEvent event);
		public void onMouseMove(MouseMoveEvent event);
	}

	public Canvas getCanvas();
	
	public void setPresenter(Presenter presenter);

}
